package com.lxw.study.creational.simplefactory;


public class Client {
    public static void main(String[] args) {
        Computer computer4Mi = ComputerFactory.makeComputer("小米");
        System.out.println("computer4Mi = " + computer4Mi);
        Computer computer4Mac = ComputerFactory.makeComputer(Computer4Mac.class);
        System.out.println("computer4Mac = " + computer4Mac);
    }
}
